from likeshop.base.mybase import Tools


# 获取默认地址
class get_default_address_model(Tools):
    # 定义登录路径
    path = "/page/user_address/getdefault"

    # 发送登录请求
    def get_default_address_action(self, db):
        mydata = {

        }
        res = self.session.get(url=self.hosturl+self.path, params=mydata, headers=db)
        return res.json()


